package com.rboat.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rboat.common.annotation.Excel;
import com.rboat.common.core.domain.BaseEntity;

/**
 * 试题对象 exam_test_questions
 * 
 * @author rboat
 * @date 2019-09-02
 */
public class ExamTestQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 所属题库ID t_exam_test_library:id */
    @Excel(name = "所属题库ID t_exam_test_library:id")
    private String testLibraryId;

    /** 题干；如果是填空题则多个题干以||分隔 */
    @Excel(name = "题干；如果是填空题则多个题干以||分隔")
    private String questionStem;

    /** 题型1：判断题；2：单选题；3：多选题；4：问答题；5：填空题 */
    @Excel(name = "题型1：判断题；2：单选题；3：多选题；4：问答题；5：填空题")
    private String questionType;

    /** 题库的难度1：容易；2：常规；3：困难； */
    @Excel(name = "题库的难度1：容易；2：常规；3：困难；")
    private String level;

    /** 题库解析分析 */
    @Excel(name = "题库解析分析")
    private String questionAnalysis;

    /** 题库状态1：正常；2；关闭 */
    @Excel(name = "题库状态1：正常；2；关闭")
    private String state;

    /** 正确答案；(判断题1：正确，0：错误；）如果是填空题多个答案以||分隔 */
    @Excel(name = "正确答案；(判断题1：正确，0：错误；）如果是填空题多个答案以||分隔")
    private String answer;

    /** 试题分数 */
    @Excel(name = "试题分数")
    private Long score;

    /** 第1个选项 */
    @Excel(name = "第1个选项")
    private String a;

    /** 第2个选项 */
    @Excel(name = "第2个选项")
    private String b;

    /** 第3个选项 */
    @Excel(name = "第3个选项")
    private String c;

    /** 第4个选项 */
    @Excel(name = "第4个选项")
    private String d;

    /** 第5个选项 */
    @Excel(name = "第5个选项")
    private String e;

    /** 第6个选项 */
    @Excel(name = "第6个选项")
    private String f;

    /** 第7个选项 */
    @Excel(name = "第7个选项")
    private String g;

    /** 第8个选项 */
    @Excel(name = "第8个选项")
    private String h;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createByUser;

    /** 创建部门 */
    @Excel(name = "创建部门")
    private String createByDept;

    /** 状态（0正常 1:删除） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=:删除")
    private String isDel;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTestLibraryId(String testLibraryId) 
    {
        this.testLibraryId = testLibraryId;
    }

    public String getTestLibraryId() 
    {
        return testLibraryId;
    }
    public void setQuestionStem(String questionStem) 
    {
        this.questionStem = questionStem;
    }

    public String getQuestionStem() 
    {
        return questionStem;
    }
    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setQuestionAnalysis(String questionAnalysis) 
    {
        this.questionAnalysis = questionAnalysis;
    }

    public String getQuestionAnalysis() 
    {
        return questionAnalysis;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setA(String a) 
    {
        this.a = a;
    }

    public String getA() 
    {
        return a;
    }
    public void setB(String b) 
    {
        this.b = b;
    }

    public String getB() 
    {
        return b;
    }
    public void setC(String c) 
    {
        this.c = c;
    }

    public String getC() 
    {
        return c;
    }
    public void setD(String d) 
    {
        this.d = d;
    }

    public String getD() 
    {
        return d;
    }
    public void setE(String e) 
    {
        this.e = e;
    }

    public String getE() 
    {
        return e;
    }
    public void setF(String f) 
    {
        this.f = f;
    }

    public String getF() 
    {
        return f;
    }
    public void setG(String g) 
    {
        this.g = g;
    }

    public String getG() 
    {
        return g;
    }
    public void setH(String h) 
    {
        this.h = h;
    }

    public String getH() 
    {
        return h;
    }
    public void setCreateByUser(String createByUser) 
    {
        this.createByUser = createByUser;
    }

    public String getCreateByUser() 
    {
        return createByUser;
    }
    public void setCreateByDept(String createByDept) 
    {
        this.createByDept = createByDept;
    }

    public String getCreateByDept() 
    {
        return createByDept;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("testLibraryId", getTestLibraryId())
            .append("questionStem", getQuestionStem())
            .append("questionType", getQuestionType())
            .append("level", getLevel())
            .append("questionAnalysis", getQuestionAnalysis())
            .append("state", getState())
            .append("answer", getAnswer())
            .append("score", getScore())
            .append("a", getA())
            .append("b", getB())
            .append("c", getC())
            .append("d", getD())
            .append("e", getE())
            .append("f", getF())
            .append("g", getG())
            .append("h", getH())
            .append("createByUser", getCreateByUser())
            .append("createByDept", getCreateByDept())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
